﻿<%@ Page Title="Store Management System - Login" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="StoreManagementSystem.Login.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:MultiView ID="multiviewLogin" runat="server">
<asp:View ID="anon" runat="server">
<h1>Login</h1>
    <table>
        <tr>
            <td class="right">
                Login Name:
            </td>
            <td>
                <asp:TextBox ID="tbLoginName" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="right">
                Password:
            </td>
            <td>
                <asp:TextBox ID="tbPassword" runat="server" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="btnLogin" runat="server" Text="Login" 
                    onclick="btnLogin_Click" />
            </td>
        </tr>
    </table>
    <asp:Label ID="lblMessage" runat="server" Visible="false"></asp:Label></asp:View>
<asp:View ID="loggedin" runat="server">
<h1>You are already logged in.</h1>
</asp:View>
</asp:MultiView>

</asp:Content>
